package com.macro.mall.dao;

import com.macro.mall.dto.Mms;
import com.macro.mall.dto.MmsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MmsDao {
    long countByExample(MmsExample example);

    int deleteByExample(MmsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Mms record);

    int insertSelective(Mms record);

    List<Mms> selectByExample(MmsExample example);

    Mms selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Mms record, @Param("example") MmsExample example);

    int updateByExample(@Param("record") Mms record, @Param("example") MmsExample example);

    int updateByPrimaryKeySelective(Mms record);

    int updateByPrimaryKey(Mms record);
}